﻿using System.Collections.Generic;
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
using Volo.Abp.AspNetCore.Mvc.UI.Packages.MalihuCustomScrollbar;
using Volo.Abp.Modularity;

namespace Volo.Abp.AspNetCore.Mvc.UI.Theme.SB.Bundling
{


    [DependsOn(
     typeof(MalihuCustomScrollbarPluginStyleBundleContributor))]
    class SBThemeGlobalStyleContributor : BundleContributor
    {
        public override void ConfigureBundle(BundleConfigurationContext context)
        {
            //sb需要all.css
            context.Files.ReplaceOne(
                "/libs/font-awesome/css/font-awesome.css",
                "/libs/font-awesome/css/all.css"
            );


            context.Files.Add("/libs/startbootstrap-sb-admin-2/css/sb-admin-2.css");
            context.Files.Add("/themes/sb/layout.css");

        }
    }
}
